package cn.sdormitory.report.vo;

import cn.sdormitory.common.utils.poi.ExcelTitle;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @创建人：zhouyang
 * @创建时间：2020/12/5 8:52
 * @version：V1.0
 */
@Data
public class HygieneStatisticsVO {
    //卫生统计按月统计(传入年月)
    @ApiModelProperty(value = "检查日期")
    @ExcelTitle(title = "检查日期")
    @ExcelProperty("检查日期")
    @ColumnWidth(16)
    private String inYearMonth;
    //宿舍ID
    @ExcelIgnore
    private Long bdormitoryId;
    //宿舍栋号
    @ExcelTitle(title = "宿舍栋号")
    @ExcelProperty("宿舍栋号")
    @ColumnWidth(16)
    @ApiModelProperty(value = "宿舍栋号")
    private String buildingNo;
    //楼层
    @ApiModelProperty(value = "楼层")
    @ExcelProperty("楼层")
    @ExcelTitle(title = "楼层")
    @ColumnWidth(12)
    private String storey;
    //宿舍号
    @ExcelTitle(title = "宿舍号")
    @ExcelProperty("宿舍号")
    @ColumnWidth(12)
    @ApiModelProperty(value = "宿舍号")
    private String dormitoryNo;
    //宿舍卫生平均总得分(去掉此字段)
    @ExcelIgnore
    private String avgScore;
    //当月卫生检查总次数
    @ApiModelProperty(value = "总次数")
    @ExcelProperty("总次数")
    @ExcelTitle(title = "总次数")
    @ColumnWidth(12)
    private int totalCount;
    //当月卫生检查优秀次数
    @ApiModelProperty(value = "优秀次数")
    @ExcelProperty("优秀次数")
    @ExcelTitle(title = "优秀次数")
    @ColumnWidth(12)
    private int excellentCount;
    //当月卫生检查良好次数
    @ApiModelProperty(value = "良好次数")
    @ExcelProperty("良好次数")
    @ExcelTitle(title = "良好次数")
    @ColumnWidth(12)
    private int goodCount;
    //当月卫生检查差次数
    @ApiModelProperty(value = "差次数")
    @ExcelProperty("差次数")
    @ExcelTitle(title = "差次数")
    @ColumnWidth(12)
    private int badCount;


}
